package com.fanqiechaodan.factory.method.factory;

import com.fanqiechaodan.factory.method.product.Product;
import com.fanqiechaodan.factory.method.product.ProductB;

/**
 * @author fanqiechaodan
 * @Classname FactoryB
 * @Description 工厂实现类B
 */
public class FactoryB implements Factory{

    @Override
    public Product createProduct() {
        return new ProductB();
    }
}
